<?php
namespace app\validate;

use think\facade\Request;
use think\Validate;

class Region extends  Validate{



    protected $rule =   [


        'parent_id'=>'require',

    ];

    protected $message  =   [

        'parent_id.require' => '上级id不能为空',


    ];
}